import java.util.Scanner;

//第八题
public class M80608 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入你的工资");
        double a=in.nextDouble();
        if(a<=3500){
            System.out.println("不交税");
        } else if (a>3500&&a<=8000) {
            double d=a*0.05;
            System.out.println("您的税为"+d);
        } else if (a>8000&&a<=1500) {
            double d=a*0.1;
            System.out.println("您的税为"+d);
        }else {
            double d=a*0.15;
            System.out.println("您的税为"+d);
        }
    }
}
